package com.onlyxiahui.framework.action.dispatcher.extend.impl;

import java.util.HashMap;
import java.util.Map;

import com.onlyxiahui.framework.action.dispatcher.extend.ArgumentBox;

/**
 * Date 2019-01-12 23:51:58<br>
 * Description
 * 
 * @author XiaHui<br>
 * @since 1.0.0
 */

public class DefaultArgumentBox implements ArgumentBox {

	Map<Object, Object> map = new HashMap<>();

	@SuppressWarnings("unchecked")
	@Override
	public <T> T get(Object key) {
		return (T) map.get(key);
	}

	@Override
	public void put(Object key, Object object) {
		map.put(key, object);
	}
}
